/*
 * Object3D.h
 *
 *  Created on: 19/05/2010
 *      Author: Nadav
 */

#ifndef OBJECT3D_H_
#define OBJECT3D_H_

#include "hit.h"
#include "ray.h"
#include "vectors.h"

class Object3D {
public:
	Object3D() {}
	virtual ~Object3D() {}
	virtual bool intersect(const Ray &r, Hit &h, float tmin) = 0;
protected:
	Vec3f color;
};

#endif /* OBJECT3D_H_ */
